home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gGameSol
- allOffStage = 1
- repeat with i = 28 to 32
- if i <> gGameSol then
- deltaV = (16 * sprite(i).locV / 300) + random(6)
- sprite(i).locV = sprite(i).locV + deltaV
- if sprite(i).locV < 520 then
- allOffStage = 0
- end if
- end if
- end repeat
- if allOffStage then
- puppetSound("66_giggle0" & string(random(2)))
- sprite(26).member = "legs"
- go(the frame + 1)
- else
- go(the frame)
- end if
- end
-